* dired-aux.el (dired-show-file-type): Handle remote files.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 5 Jul 2009 08:31:37 +0000 (08:31 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 5 Jul 2009 08:31:37 +0000 (08:31 +0000)
lisp/dired-aux.el

index ffb6f4e9cbf4af3b12512c3ce97de011a2b764eb..2e31e9cd90d19e90a9b4392f9a631c7acba07f45 100644 (file)
@@ -2429,8 +2429,8 @@ true then the type of the file linked to by FILE is printed instead."
   (interactive (list (dired-get-filename t) current-prefix-arg))
   (with-temp-buffer
     (if deref-symlinks
-       (call-process "file" nil t t "-L" "--" file)
-      (call-process "file" nil t t "--" file))
+       (process-file "file" nil t t "-L" "--" file)
+      (process-file "file" nil t t "--" file))
     (when (bolp)
       (backward-delete-char 1))
     (message "%s" (buffer-string))))